#include<iostream>
#include<cstring>
using namespace std;
const int N = 1e5 + 10;
string s;
int n;
int mp[N];
int main()
{
	while (cin >> n) {
		int cnt = 0;
		for (int i = 2; i * i <= n; i++) {
			bool f = 0;
			while (n % i == 0) {
				n /= i;
				f = 1;
			}
			if (f)cnt++;
		}
		if (n > 1)cnt++;
		cout << cnt << endl;
	}
	return 0;
}